<div class="col-lg-8">
    <div class="panel panel-default">
        <div class="panel-heading">
            Striped Rows
        </div>
        <!-- /.panel-heading -->
        <div class="panel-body">
            <div class="table-responsive">
                <table class="table table-striped">
                    <thead>
                        <tr>
                            <th>ID</th>
                            <th>Nama Barang</th>
                            <th>Deskripsi</th>
                            <th>Harga</th>
                            <th>Kategori</th>
                            <th>Tanggal</th>
                            <th>user id</th>
                            <th colspan="2">Action</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach($data as $row){?>
                        <tr>
                            <td><?php echo $row->ID_Barang;?></td>
                            <td><?php echo $row->Judul;?></td>
                            <td><?php echo $row->Deskripsi;?></td>
                            <td><?php echo $row->Harga;?></td>
                            <td><?php echo $row->Nama;?></td>
                            <td><?php echo $row->Tanggal;?></td>
                            <td><?php echo $row->user_id;?></td>
                            <td><a href="<?php echo site_url("jualbeli/data_edit_barang/". $row->ID_Barang); ?>">EDIT</a></td>
                            <td><a href="<?php echo site_url("jualbeli/detail_barang/". $row->ID_Barang); ?>">DETAIL</a></td>
                        </tr>
                        <?php }?>
                    </tbody>
                </table>
            </div>
        <!-- /.table-responsive -->
        </div>
    <!-- /.panel-body -->
    </div>
<!-- /.panel -->
</div>  